<template>
  <div class="app-container">
    <div class="searchBox">
      <el-form :inline="true">
        <el-form-item label="查询条件1：">
          <el-input v-model="search.demo1" placeholder="请输入内容"></el-input>
        </el-form-item>
        <el-form-item label="查询条件2：">
          <el-input v-model="search.demo2" placeholder="请输入内容"></el-input>
        </el-form-item>

        <el-form-item>
          <el-button type="primary" @click="searchQuery">查询</el-button>
          <el-button type="info" @click="search = {}; searchQuery();">重置</el-button>
        </el-form-item>
      </el-form>
    </div>

    <qm-table ref="qmTable" :data="query" keyProp="feedbackId" useFormPage>
      <qm-table-column field="appName" sortable="true">APP名称</qm-table-column>
      <qm-table-column field="appVersion" sortable="true">APP版本号</qm-table-column>
      <qm-table-column field="problem" sortable="true">反馈问题</qm-table-column>
      <qm-table-column field="telephone" sortable="true">联系方式</qm-table-column>
      <qm-table-column field="createdUserName" sortable="true">反馈人</qm-table-column>
      <qm-table-column field="status" sortable="true">状态</qm-table-column>
      <qm-table-column field="handler" sortable="true">处理人</qm-table-column>
      <qm-table-column field="handleResult" sortable="true">处理结果</qm-table-column>
      <qm-table-column field="handDate" sortable="true">处理开始日期</qm-table-column>
      <qm-table-column field="handleEndDate" sortable="true">处理结束日期</qm-table-column>
    </qm-table>
  </div>
</template>

<script>
import Controller from "@/libs/framework/controller";
export default class Instance extends Controller {
  onBeforeInit() {
    this.urls = {
      model: "/mobile/mobileFeedback/getListModel",
      query: "/mobile/mobileFeedback/query",
      save: "/mobile/mobileFeedback/save",
      delete: "/mobile/mobileFeedback/delete",
      entity: "/mobile/mobileFeedback/getEntity",
    };
  }

  mixin() {
    return {
      data() {
        return {};
      },
      methods: {},
    };
  }
}
</script>

<style scoped lang="scss">
</style>
